<template>
    <sky-card>
        <view class="card-box">
            <view>
                {{ orderInfo?.delivery_method_text }}：{{ orderInfo?.status_text }}
            </view>
            <view>
                <slot name="right"></slot>
            </view>
        </view>
    </sky-card>
</template>
<script setup>
const props = defineProps({
    orderInfo: {
        type: Object,
        default: () => {
            return {}
        }
    }
})
</script>
<style scoped lang="scss">
.card-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
</style>
